package com.zhongwang.mms.gen.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class MCheckPlan {
    private Integer cpnId;

    private String cpnMaker;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date cpnDate;

    private String cpnContent;

    private String cpnCode;

    private String cpnParticipants;

    private String cpnRemark;

    private Integer cpnStatus;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date cpnStart;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date cpnEnd;

    private Integer cpnResStatus;

    private Integer cpnAdjStatus;

    private Integer cpnPalStatus;

    private String cpnAccount;

    public MCheckPlan(Integer cpnId, String cpnMaker, Date cpnDate, String cpnContent, String cpnCode, String cpnParticipants, String cpnRemark, Integer cpnStatus, Date cpnStart, Date cpnEnd, Integer cpnResStatus, Integer cpnAdjStatus, Integer cpnPalStatus, String cpnAccount) {
        this.cpnId = cpnId;
        this.cpnMaker = cpnMaker;
        this.cpnDate = cpnDate;
        this.cpnContent = cpnContent;
        this.cpnCode = cpnCode;
        this.cpnParticipants = cpnParticipants;
        this.cpnRemark = cpnRemark;
        this.cpnStatus = cpnStatus;
        this.cpnStart = cpnStart;
        this.cpnEnd = cpnEnd;
        this.cpnResStatus = cpnResStatus;
        this.cpnAdjStatus = cpnAdjStatus;
        this.cpnPalStatus = cpnPalStatus;
        this.cpnAccount = cpnAccount;
    }

    public MCheckPlan() {
        super();
    }

    public Integer getCpnId() {
        return cpnId;
    }

    public void setCpnId(Integer cpnId) {
        this.cpnId = cpnId;
    }

    public String getCpnMaker() {
        return cpnMaker;
    }

    public void setCpnMaker(String cpnMaker) {
        this.cpnMaker = cpnMaker == null ? null : cpnMaker.trim();
    }

    public Date getCpnDate() {
        return cpnDate;
    }

    public void setCpnDate(Date cpnDate) {
        this.cpnDate = cpnDate;
    }

    public String getCpnContent() {
        return cpnContent;
    }

    public void setCpnContent(String cpnContent) {
        this.cpnContent = cpnContent == null ? null : cpnContent.trim();
    }

    public String getCpnCode() {
        return cpnCode;
    }

    public void setCpnCode(String cpnCode) {
        this.cpnCode = cpnCode == null ? null : cpnCode.trim();
    }

    public String getCpnParticipants() {
        return cpnParticipants;
    }

    public void setCpnParticipants(String cpnParticipants) {
        this.cpnParticipants = cpnParticipants == null ? null : cpnParticipants.trim();
    }

    public String getCpnRemark() {
        return cpnRemark;
    }

    public void setCpnRemark(String cpnRemark) {
        this.cpnRemark = cpnRemark == null ? null : cpnRemark.trim();
    }

    public Integer getCpnStatus() {
        return cpnStatus;
    }

    public void setCpnStatus(Integer cpnStatus) {
        this.cpnStatus = cpnStatus;
    }

    public Date getCpnStart() {
        return cpnStart;
    }

    public void setCpnStart(Date cpnStart) {
        this.cpnStart = cpnStart;
    }

    public Date getCpnEnd() {
        return cpnEnd;
    }

    public void setCpnEnd(Date cpnEnd) {
        this.cpnEnd = cpnEnd;
    }

    public Integer getCpnResStatus() {
        return cpnResStatus;
    }

    public void setCpnResStatus(Integer cpnResStatus) {
        this.cpnResStatus = cpnResStatus;
    }

    public Integer getCpnAdjStatus() {
        return cpnAdjStatus;
    }

    public void setCpnAdjStatus(Integer cpnAdjStatus) {
        this.cpnAdjStatus = cpnAdjStatus;
    }

    public Integer getCpnPalStatus() {
        return cpnPalStatus;
    }

    public void setCpnPalStatus(Integer cpnPalStatus) {
        this.cpnPalStatus = cpnPalStatus;
    }

    public String getCpnAccount() {
        return cpnAccount;
    }

    public void setCpnAccount(String cpnAccount) {
        this.cpnAccount = cpnAccount == null ? null : cpnAccount.trim();
    }
}